package com.cennavi.minemap.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Service;

import com.cennavi.minemap.dao.ReportDao;

@Service
@ComponentScan(basePackages = {"com.cennavi.minemap.dao"})
public class ReportService {
	
	@Autowired
	private ReportDao reportDao;
	
	
	public List<Map<String, Object>> queryReport(String sql, Object[] object){
		return reportDao.queryReport(sql, object);
	}
}
